package com.benz.user.service.impl;

import com.benz.user.client.OrderFeignClient;
import com.benz.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private OrderFeignClient orderFeignClient;
    @Override
    public String getOrderByNo(String userId) {
        return orderFeignClient.getOrderByNo(userId);
    }
}
